/*
 * 类目 基础管理 事务管理  捐赠维护
 */
import { getRequest, postRequest, uploadRequest, downloadRequestget } from '/@/lib/axios';

export const Years = {
  //年度决算调用接口
  YearsFind: (param) => {
    return getRequest('/foundation/blfinalaccounts/finalAccounts', param);
  },
  //年度决算完调用接口
  YearsInit: (param) => {
    return getRequest('/foundation/blfinalaccounts/faList', param);
  },
  //填写差异分析
  EditVarcher: (param) => {
    return postRequest('/foundation/blfinalaccounts/update', param);
  },
  //年终决算导出
  ImportYears: (param) => {
    return getRequest('/foundation/blfinalaccounts/exportWord', param);
  },
  //项目年终决算
  ProjectYears: (param) => {
    return postRequest('/foundation/blfinalaccounts/finalAccountsProjectList', param);
  },
  //项目决算进入年终决算
  ProjectYearsFind: (param) => {
    return getRequest('/foundation/blfinalaccounts/finalAccountsProject/', param);
  },
  //项目决算进入年终决算 决算接口
  ProjectTableInite: (param) => {
    return getRequest('/foundation/blfinalaccounts/bpFaList', param);
  },
  //项目决算修改
  ProjectEdit: (param) => {
    return postRequest('/foundation/blfinalaccounts/updatePro', param);
  },
  //项目年终决算导出
  ImportProject: (param) => {
    return getRequest('/foundation/blfinalaccounts/exportBpWord', param);
  },
};
